Apache server doesn't create directory or file under www-data user [duplicate]
Posted
by
Harkonnen
on Server Fault
See other posts from Server Fault
or by Harkonnen
Published on 2014-05-31T14:45:51Z
Indexed on
2014/05/31
15:31 UTC
Read the original article
Hit count: 351
security
|apache-2.4
This question already has an answer here:
very newbie to Apache here
I installed Apache 2.4 on my Arch server where I installed newznab (a newsgroups indexer). I have noticed that all files newznab needs to create are created under my login user, and not apache default user (www-data). I read here that it's bad security practice to allow www-data to write files. I agree. But as an apache newbie, I would like to know where (in the httpd.conf I suppose ?) the user allowed to write files can be configured, because I want another account to be allowed to write files instead of my main account.
© Server Fault or respective owner